tools/libxl: Infrastructure for writing a v2 stream
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Sun, 14 Jun 2015 14:59:28 +0000 (15:59 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 15 Jul 2015 10:22:53 +0000 (11:22 +0100)
commit7c4027c6a0bddcde74df2bf5c16421f2cbb19971
tree10e52cf651cd248f2c62094c55840f6fb6b195ce
parent3a9ace0147d48af49ffd34628f9510f248f2f588
tools/libxl: Infrastructure for writing a v2 stream

This contains the event machinery and state machines to write
non-checkpointed migration v2 stream (with the exception of the
xc_domain_save() handling which is spliced later in a bisectable way).

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
v4: Don't make _init() mandatory, use FILLZERO(), adjust stream_success()
v3: Similar changes to the read side, following the read side review.
tools/libxl/Makefile
tools/libxl/libxl_internal.h
tools/libxl/libxl_stream_write.c [new file with mode: 0644]